package quickmall

class MainPageController {

	def index() {
		if(!session.user) {
			// i.e. user not logged in
			redirect(controller:'login',action:'login')
			return false
		}
		
		render(view: "index")
		
	}
}
